<!DOCTYPE html>
<html>
<head>
	<title>用户管理</title>
	<meta content="text/html" charset="utf8">
</head>
<body>
<table border="1px">
	<tr>
		<td>邮箱</td>
		<td>是否激活</td>
		<td>用户组id</td>
	</tr>
	@foreach($userList as $value)
		<tr id="{{$value['user_id']}}" onmouseout="mOut(this)" onmouseover="mOver(this)" onclick="mClick(this)">
			<td>
				{{$value['email']}}
			</td>
			<td>
				{{$value['is_activation']?"是":"否"}}
			</td>
			<td>
				{{$value['usergroup_id']}}
			</td>
		</tr>
	@endforeach
</table>
<script type="text/javascript">
function mOver(obj)
{
	obj.style.backgroundColor="blue";
}
function mOut(obj)
{
	obj.style.backgroundColor="white";
}
function mClick(obj)
{
	window.location.href="userManage/userInfo?userId="+obj.id;
}
</script>
</body>
</html>